import React from 'react';

export default props => {
    return (
        <div className="ag-overlay-loading-center" role="presentation">
            <div role="presentation" style={{height: 100, width: 100, background: 'url(https://ag-grid.com/images/ag-grid-loading-spinner.svg) center / contain no-repeat', margin: '0 auto'}}></div>
            <div aria-live="polite" aria-atomic="true">{props.loadingMessage}</div>
        </div>
    );
};
